package com.redoor.app.stake.workflow.service;

import com.redoor.app.stake.workflow.model.BaseWorkorder;
import com.redoor.app.stake.workflow.model.controllerModel.WorkOrderCriteria;

/**  
 *  桩维护审核工单的接口
 *   
 * @author ZhangMumu  
 * @date 2018/3/30 0030 20:12
 */
public interface MaintenaceChargeWorkOrderService {
    /**
     *  生成桩维护审核工单
     *
     * @author ZhangMumu
     * @date 2018/3/30 0030 20:14
     * @param
     * @return
     */
    int create(BaseWorkorder mainApplyWorkOrder);
    /**  
     *  审核通过
     *   
     * @author ZhangMumu  
     * @date 2018/3/30 0030 20:15  
     * @param   
     * @return   
     */  
    int accept(WorkOrderCriteria workOrderCriteria);
    /**  
     *  审核拒绝
     *   
     * @author ZhangMumu  
     * @date 2018/3/30 0030 20:16
     * @param   
     * @return   
     */  
    int reject(WorkOrderCriteria workOrderCriteria);
    /**  
     *  审核工单激活
     *   
     * @author ZhangMumu  
     * @date 2018/3/30 0030 20:27
     * @param   
     * @return   
     */  
    int active(BaseWorkorder baseWorkorder);

}
